{% extends "base.html" %}

{% block titulo %}Aplicativo de Chamadas - Registro de Professor{% endblock %}

{% block conteudo %}

{% for category, msg in get_flashed_messages(with_categories=true) %}
<div class="flash {{category}}"><span>{{ msg }}</span></div>
{% endfor %}

<form id="form-login" action="{{ url_for('form_add_professor') }}" method="POST">

<fieldset id="fs-login">
		<legend>Cadastro</legend>
		<div class="field">
			<label for="login">Usuário: </label>
			<input type="text" name="usuario">
		</div>
			
		<div class="field">
			<label for="senha">Senha: </label>
			<input type="password" name="senha">
		</div>	

		<input type="submit" value="Registrar">
</fieldset>	
</form>
<form id="back" action="{{ url_for('login') }}" method="GET">

<fieldset id="backb">

		<input type="submit" value="Voltar para Login">
</fieldset>	
</form>
{% endblock %}
